package com.ruoyi.system.domain;

import java.math.BigDecimal;

import com.ruoyi.system.entity.AbdulBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备服务计费项类型对象 equipment_service_billing_item_types
 *
 * @author ruoyi
 * @date 2025-05-09
 */
@ApiModel("设备服务计费项类型对象")
public class EquipmentServiceBillingItemTypes extends AbdulBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备服务计费项类型的唯一标识符，自动递增 */
    @ApiModelProperty("主键ID")
    private Long id;

    /** 项目名称，描述设备服务计费项的具体名称 */
    @ApiModelProperty("项目名称")
    @Excel(name = "项目名称，描述设备服务计费项的具体名称")
    private String itemName;

    /** 排序，用于确定计费项类型在列表中的显示顺序 */
    @ApiModelProperty("排序")
    @Excel(name = "排序，用于确定计费项类型在列表中的显示顺序")
    private Long sortOrder;

    /** 介绍标签，用于描述该计费项类型的主要特点或属性 */
    @ApiModelProperty("介绍标签")
    @Excel(name = "介绍标签，用于描述该计费项类型的主要特点或属性")
    private String introTags;

    /** 列表图片，用于在列表中展示该计费项类型的图片 */
    @ApiModelProperty("列表图片")
    @Excel(name = "列表图片，用于在列表中展示该计费项类型的图片")
    private String listImage;

    /** 轮播图片，用于在详情页中展示该计费项类型的多张图片，以逗号分隔 */
    @ApiModelProperty("轮播图片")
    @Excel(name = "轮播图片，用于在详情页中展示该计费项类型的多张图片，以逗号分隔")
    private String carouselImages;

    /** 列表介绍，用于在列表中简要介绍该计费项类型 */
    @ApiModelProperty("列表介绍")
    @Excel(name = "列表介绍，用于在列表中简要介绍该计费项类型")
    private String listIntro;

    /** 详情介绍，用于在详情页中详细介绍该计费项类型 */
    @ApiModelProperty("详情介绍")
    @Excel(name = "详情介绍，用于在详情页中详细介绍该计费项类型")
    private String detailIntro;

    /** 计费规则，描述该计费项类型的计费方式和标准 */
    @ApiModelProperty("计费规则")
    @Excel(name = "计费规则，描述该计费项类型的计费方式和标准")
    private String billingRules;

    /** 整单折扣，表示该计费项类型的整单折扣比例或金额 */
    @ApiModelProperty("主整单折扣")
    @Excel(name = "整单折扣，表示该计费项类型的整单折扣比例或金额")
    private BigDecimal fullOrderDiscount;

    /** 折扣方式，描述该计费项类型的折扣计算方式，如满减、折扣率等 */
    @ApiModelProperty("折扣方式")
    @Excel(name = "折扣方式，描述该计费项类型的折扣计算方式，如满减、折扣率等")
    private String discountMethod;

    /** 参与最低消费 表示该计费项类型是否参与最低消费规则 */
    @ApiModelProperty("参与最低消费")
    @Excel(name = "参与最低消费 表示该计费项类型是否参与最低消费规则")
    private Integer participatesInMinConsumption;

    /** 参与会员积分 表示该计费项类型是否参与会员积分规则 */
    @ApiModelProperty("参与会员积分")
    @Excel(name = "参与会员积分 表示该计费项类型是否参与会员积分规则")
    private Integer participatesInMemberPoints;

    /** 用户小程序可选 表示该计费项类型是否在用户小程序中可选 */
    @ApiModelProperty("用户小程序可选")
    @Excel(name = "用户小程序可选 表示该计费项类型是否在用户小程序中可选")
    private Integer availableInMiniProgram;

    /** 参与手动优惠 表示该计费项类型是否参与手动优惠规则 */
    @ApiModelProperty("参与手动优惠 ")
    @Excel(name = "参与手动优惠 表示该计费项类型是否参与手动优惠规则")
    private Integer participatesInManualDiscounts;

    /** 手机号 */
    @ApiModelProperty("主键ID")
    @Excel(name = "手机号")
    private String phone;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setItemName(String itemName)
    {
        this.itemName = itemName;
    }

    public String getItemName()
    {
        return itemName;
    }

    public void setSortOrder(Long sortOrder)
    {
        this.sortOrder = sortOrder;
    }

    public Long getSortOrder()
    {
        return sortOrder;
    }

    public void setIntroTags(String introTags)
    {
        this.introTags = introTags;
    }

    public String getIntroTags()
    {
        return introTags;
    }

    public void setListImage(String listImage)
    {
        this.listImage = listImage;
    }

    public String getListImage()
    {
        return listImage;
    }

    public void setCarouselImages(String carouselImages)
    {
        this.carouselImages = carouselImages;
    }

    public String getCarouselImages()
    {
        return carouselImages;
    }

    public void setListIntro(String listIntro)
    {
        this.listIntro = listIntro;
    }

    public String getListIntro()
    {
        return listIntro;
    }

    public void setDetailIntro(String detailIntro)
    {
        this.detailIntro = detailIntro;
    }

    public String getDetailIntro()
    {
        return detailIntro;
    }

    public void setBillingRules(String billingRules)
    {
        this.billingRules = billingRules;
    }

    public String getBillingRules()
    {
        return billingRules;
    }

    public void setFullOrderDiscount(BigDecimal fullOrderDiscount)
    {
        this.fullOrderDiscount = fullOrderDiscount;
    }

    public BigDecimal getFullOrderDiscount()
    {
        return fullOrderDiscount;
    }

    public void setDiscountMethod(String discountMethod)
    {
        this.discountMethod = discountMethod;
    }

    public String getDiscountMethod()
    {
        return discountMethod;
    }

    public void setParticipatesInMinConsumption(Integer participatesInMinConsumption)
    {
        this.participatesInMinConsumption = participatesInMinConsumption;
    }

    public Integer getParticipatesInMinConsumption()
    {
        return participatesInMinConsumption;
    }

    public void setParticipatesInMemberPoints(Integer participatesInMemberPoints)
    {
        this.participatesInMemberPoints = participatesInMemberPoints;
    }

    public Integer getParticipatesInMemberPoints()
    {
        return participatesInMemberPoints;
    }

    public void setAvailableInMiniProgram(Integer availableInMiniProgram)
    {
        this.availableInMiniProgram = availableInMiniProgram;
    }

    public Integer getAvailableInMiniProgram()
    {
        return availableInMiniProgram;
    }

    public void setParticipatesInManualDiscounts(Integer participatesInManualDiscounts)
    {
        this.participatesInManualDiscounts = participatesInManualDiscounts;
    }

    public Integer getParticipatesInManualDiscounts()
    {
        return participatesInManualDiscounts;
    }

    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("itemName", getItemName())
                .append("sortOrder", getSortOrder())
                .append("introTags", getIntroTags())
                .append("listImage", getListImage())
                .append("carouselImages", getCarouselImages())
                .append("listIntro", getListIntro())
                .append("detailIntro", getDetailIntro())
                .append("billingRules", getBillingRules())
                .append("fullOrderDiscount", getFullOrderDiscount())
                .append("discountMethod", getDiscountMethod())
                .append("participatesInMinConsumption", getParticipatesInMinConsumption())
                .append("participatesInMemberPoints", getParticipatesInMemberPoints())
                .append("availableInMiniProgram", getAvailableInMiniProgram())
                .append("participatesInManualDiscounts", getParticipatesInManualDiscounts())
                .append("phone", getPhone())
                .toString();
    }
}
